package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.TrainingDemandManagementDao;
import io.renren.entity.TrainingDemandManagementEntity;
import io.renren.service.TrainingDemandManagementService;



@Service("trainingDemandManagementService")
public class TrainingDemandManagementServiceImpl implements TrainingDemandManagementService {
	@Autowired
	private TrainingDemandManagementDao trainingDemandManagementDao;
	
	@Override
	public TrainingDemandManagementEntity queryObject(Integer id){
		return trainingDemandManagementDao.queryObject(id);
	}
	
	@Override
	public List<TrainingDemandManagementEntity> queryList(Map<String, Object> map){
		return trainingDemandManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return trainingDemandManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(TrainingDemandManagementEntity trainingDemandManagement){
		trainingDemandManagementDao.save(trainingDemandManagement);
	}

	@Override
	public void update(TrainingDemandManagementEntity trainingDemandManagement){
		trainingDemandManagementDao.update(trainingDemandManagement);
	}
	
	@Override
	public void delete(Integer id){
		trainingDemandManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		trainingDemandManagementDao.deleteBatch(ids);
	}
	
}
